package com.watchme.parser.utils;

/**
 * Created by wangqiang on 2017/10/25.
 */
public class PdfParserUtil {

    private static PdfParserUtil instance = null;

    private PdfParserUtil() {

    }

    private static Integer LOCK = 0;

    public static PdfParserUtil getInstance() {
        synchronized (LOCK) {
            if (instance == null) {
                instance = new PdfParserUtil();
            }
            return instance;
        }
    }

    public boolean parser(String pdfPath, String imgPath) {
        boolean result = false;

        Pdf2ImgUtil.parserPdf2Img(pdfPath, imgPath);

        return result;
    }





}
